package com.ruoyi.backStage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单金额计算管理对象 order_amount_calculation
 * 
 * @author xingxing
 * @date 2023-07-04
 */
public class OrderAmountCalculation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单金额计算表 */
    private Long id;

    /** 基础单价(元) */
    @Excel(name = "基础单价(元)")
    private Double basicPrice;

    /** 重量权重 */
    @Excel(name = "重量权重")
    private Double weightWeight;

    /** 路程权重 */
    @Excel(name = "路程权重")
    private Double distanceWeight;

    /** 天气溢价(元) */
    @Excel(name = "天气溢价(元)")
    private Double weatherPremium;

    /** 平台抽成 */
    @Excel(name = "平台抽成")
    private Double platformExtraction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicPrice(Double basicPrice) 
    {
        this.basicPrice = basicPrice;
    }

    public Double getBasicPrice() 
    {
        return basicPrice;
    }
    public void setWeightWeight(Double weightWeight) 
    {
        this.weightWeight = weightWeight;
    }

    public Double getWeightWeight() 
    {
        return weightWeight;
    }
    public void setDistanceWeight(Double distanceWeight) 
    {
        this.distanceWeight = distanceWeight;
    }

    public Double getDistanceWeight() 
    {
        return distanceWeight;
    }
    public void setWeatherPremium(Double weatherPremium) 
    {
        this.weatherPremium = weatherPremium;
    }

    public Double getWeatherPremium() 
    {
        return weatherPremium;
    }
    public void setPlatformExtraction(Double platformExtraction) 
    {
        this.platformExtraction = platformExtraction;
    }

    public Double getPlatformExtraction() 
    {
        return platformExtraction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicPrice", getBasicPrice())
            .append("weightWeight", getWeightWeight())
            .append("distanceWeight", getDistanceWeight())
            .append("weatherPremium", getWeatherPremium())
            .append("platformExtraction", getPlatformExtraction())
            .toString();
    }
}
